package ooday03;

public class Doctor extends Person{
    String title;

    Doctor(){

    }

    Doctor(String name,int age,String address,String title){

    }

    void cut(){
        System.out.println(name+"正在做手术");
    }

    void sayHi(){
        System.out.println("大家好，我的名字是"+name+"我今年"+age+"岁了，我家住在"+address+"我的职称是"+title);
    }
}
